<?php
try{
    include '../ini.php';
    $contentForLayout=$dt_smarty->fetch('errors/404.tpl');
    $dt_smarty->assign('titleForLayout','Không tìm thấy trang');
    $dt_smarty->assign('contentForLayout',$contentForLayout);
    $dt_smarty->display('layouts/default.tpl');
    $dbh=NULL;
} catch(Exception $e){
    $dbh=NULL;
    $_SESSION['msg']=$e->getMessage();
    header("Location: /errors/erros.php");
}